/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pr3_ia1;

import java.util.ArrayList;

/**
 *
 * @author Darick
 */
public class Nodo {
    public String[][] tablero;
    public String[] piezas;
    public String cambio;
    public int valor;
    public int estado;
    public ArrayList<Nodo> hijos = new ArrayList();
    public Nodo padre;
    
    public Nodo(int v){
        valor = v;
    }
            
    public Nodo(Nodo pd,String[][] t, String[] p,int v, int e){
        padre = pd;
        tablero = t;
        piezas = p;
        valor = v;
        estado = e;
        cambio = "";
    }
}
